from selenium.webdriver.common.by import By

"""
    登录页
    page_login_
"""
page_login_username = [By.ID, "username"]
page_login_password = [By.ID, "password"]
page_login_block = [By.XPATH, "//div[@class='verify-move-block']"]
# 滑动-验证成功
page_login_block_true = [By.XPATH, "//div[@class='verify-left-bar']//span[@class='verify-msg']"]
# 滑动失败-向右滑动完成验证]
page_login_block_false = [By.XPATH, "//span[contains(text(),'向右滑动解锁')]"]
# 用户名、密码-长度提示
page_login_len_info = [By.ID, "login_info"]
# 登录按钮
page_login_btn = [By.ID, "login_btn"]
"""
    首页
    page_home_
"""
# 当前登录账号
page_home_current_name = [By.ID, "current_username"]














